package decoratorPattern;

public class FiredRice extends FastFood{


    public FiredRice() {
        super(10, "炒饭");
    }

    @Override
    public float cost() {
        return getPrice();
    }
}
